package com.frejoys.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

// 用户推广表实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("j_user_level_promotion")
public class UserLevelPromotion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    // 推广用户ID
    private Long userId;
    
    // 子级用户ID
    private Long childUserId;
    
    // 父级用户ID
    private Long parentUserId;
    
    // 创建时间
    private Integer createTime;
}
